package com.zzyl.nursing.controller.member;

import com.zzyl.common.core.controller.BaseController;
import com.zzyl.common.core.domain.R;
import com.zzyl.common.utils.UserThreadLocal;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/member/reservation")
@Api(tags = "预约信息管理")
public class MemberReservationController extends BaseController {
    /*预约信息controller*/
    @GetMapping("/cancelled-count")
    public R<Integer> getCancelledCount(){
        Long userId = UserThreadLocal.getUserId();
        System.out.println("-----------"+userId);
        return R.ok(1);

    }

}
